package thinkme.Mint;
import thinkme.*;

import java.io.IOException;

import java.util.HashMap;
import java.util.Map;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main(String[] args) throws IOException {
        Controller controller = new Controller();

        try {
            Map<String, Object> map2 = controller.getTodayWeather1("101230201"); //这块填的是城市编码
            System.out.println(map2.get("city") + "\t" + map2.get("temp1")
                    + "\t" + map2.get("WD") + "\t" + map2.get("SD")
                    + "\t" + map2.get("time"));
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
        }
    }
}
